﻿<!DOCTYPE html>
<!-- release v4.3.6, copyright 2014 - 2016 Kartik Visweswaran -->
<html lang="en">
    <head>
        <meta charset="UTF-8"/>
        <title>取暖费后台</title>
        <link href="__PUBLIC__/HeatingfeeAdmin/css/bootstrap.min.css" rel="stylesheet">
        <link href="__PUBLIC__/HeatingfeeAdmin/css/fileinput.css" media="all" rel="stylesheet" type="text/css" />
        <script src="__PUBLIC__/HeatingfeeAdmin/js/jquery-1.8.2.min.js"></script>
        <script src="__PUBLIC__/HeatingfeeAdmin/js/fileinput.js" type="text/javascript"></script>
        <script src="__PUBLIC__/HeatingfeeAdmin/js/fileinput_locale_fr.js" type="text/javascript"></script>
        <script src="__PUBLIC__/HeatingfeeAdmin/js/fileinput_locale_es.js" type="text/javascript"></script>
        <script src="__PUBLIC__/HeatingfeeAdmin/js/bootstrap.min.js" type="text/javascript"></script>
    </head>
    <body>
        
        <div id="mian">
              
                <div class="page-header">
                <h1>上传文件后缀为 xlsx 或者 xls</h1>
                </div>
                <form enctype="multipart/form-data" action="{:U('Heatingfee/Admin/upload')}" method="post">
                <input id="file-0a" class="file" type="file" multiple data-min-file-count="1" name="file_stu">
                </form>
                    
                <button type="button" class="btn btn-primary btn-lg btn-block" id="hq">获取sql文件</button>
        </div>
        


    </body>
<script>
    $(function(){
        $('.hidden-xs').text('选择文件');
        $('.fileinput-remove').text('重新选择');
        $('.fileinput-upload').text('确认上传');

        $('#hq').click(function(){
            location.href = "__CONTROLLER__/sq/sql/action";
        })
    })
</script>
<style>
    #mian{
        width: 600px;
        margin: 200px auto;
    }
    #hq{
        margin-top: 30px;
    }
</style>
</html>
